package com.DuoXianCheng.D08;

public class A01 {
    public static void main(String[] args) throws InterruptedException {
        /*
        * public static void join()      插入线程/插队线程
        * */
        C01 t = new C01();
        t.setName("A");
        t.start();
        
        t.join();
        
        // 执行再main线程中
        for (int i = 0; i < 10; i++) {
            System.out.println("main线程" + i);
        }
    }
}
